package com.core.framework.web.easyweb.context;

import javax.servlet.ServletContext;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.core.framework.web.easyweb.EasywebStatics;
/**
 * EasyWeb上下文应用
 * @author 刘涛
 * @since Jun 12, 2012
 */
public class ServletActionContext implements  EasywebStatics
{
    private   static HttpServletRequest  request;
    private   static HttpServletResponse response;
    private   static ServletContext servletContext;
    public static void  init(HttpServletRequest _request , HttpServletResponse _response,ServletContext _servletContext)
    {
    	request = _request;
    	response=_response;
    }
	public static HttpServletRequest getRequest() {
		return request;
	}
	public static HttpServletResponse getResponse() {
		return response;
	}
	public static ServletContext getServletContext() {
		return servletContext;
	}
    
    
    
    
}
